package cn.itcast.wanxinp2p.account;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication(exclude = MongoAutoConfiguration.class)
@EnableDiscoveryClient
@MapperScan("cn.itcast.wanxinp2p.account.mapper") //设置mapper接口的扫描包
@ComponentScan(value ={"org.dromara.hmily","cn.itcast.wanxinp2p.account"})
public class AccountBootStrap {

    public static void main(String[] args) {
        SpringApplication.run(AccountBootStrap.class, args);
    }

}
